﻿using System.Collections.Generic;

using ZQNB.Entity.Ds;
using ZQNB.Entity.Sg;

namespace ZQNB.Entity.Service
{
    public interface ISiteService
    {
        /// <summary>
        /// 创建站点
        /// </summary>
        /// <param name="site"></param>
        /// <returns></returns>
        bool CreateSite(Site site);

        /// <summary>
        /// 站内的所有的组织节点
        /// </summary>
        /// <param name="siteUniqueName"></param>
        /// <returns></returns>
        IList<Org> GetSiteOrgs(string siteUniqueName);
    }
}